import { Ext } from "./ext";
import { ExtRoom } from "./room";

export class ExtStructure extends Ext{
    /**
     * @private
     * @param {Structure} structure 
     */
    constructor(structure){
        super();
        this.structure = structure;
    }
    get room(){
        return ExtRoom.get(this.structure.room);
    }
}